package com.zhou.combine.security.config;

import org.springframework.security.config.annotation.ObjectPostProcessor;
import org.springframework.security.web.access.intercept.FilterSecurityInterceptor;

/**
 * CustomPostProcessor
 *
 * @author zhouxianfeng
 * @date 2021-1-6
 */
public class CustomPostProcessor implements ObjectPostProcessor<FilterSecurityInterceptor> {

    @Override
    public <T extends FilterSecurityInterceptor> T postProcess(T fsi) {
        /*fsi.setAccessDecisionManager(accessDecisionManager); //权限决策处理类
        fsi.setSecurityMetadataSource(filterSecurityMetadataSource); //路径（资源）拦截处理*/
        return fsi;
    }
}
